package com.tourlaid.mamagerment.service

import com.tourlaid.mamagerment.dto.StockOutDto
import com.tourlaid.mamagerment.entity.StockOut

/**
 * Created by xiaoyongge on 2017/7/23.
 */
interface StockOutService {

    fun queryForList(shopId: Long?, goodsId: Long?): List<StockOutDto>?

    fun insert(controlNo: String?, shopId: Long?, stockInId: Long?, stock: Int?)

    fun  getById(id: Long): StockOut?

    fun  getControlNo(controlNo: String): StockOut?

    fun update(stockOutId: Long?, shopId: Long?, controlNo: String?)

    fun  delete(id: Long?)

}